from flask import Flask, render_template

app = Flask(__name__)


@app.route('/')
def hello():
    return 'hello'


@app.route('/index')
def index():
    return render_template('index.html', name='wohenhao')


if __name__ == '__main__':
    app.run(debug=True)